package com.daiqee.pojo;

import java.util.Date;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.FieldStrategy;
import com.baomidou.mybatisplus.enums.IdType;
import com.daiqee.annotations.DateField;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 公告
 * 
 * <br/>
 * @since JDK 1.8
 * @version  V2.1
 * @author RichardTang 
 * @date: 2018年6月2日
 * @package com.daiqee.pojo
 * @copyright:Copyright (c) 2018, 1245811923@qq.com All Rights Reserved.
 */
@TableName("notice")
public class Notice extends LogicDeleteFlag{
	
	@TableId(type = IdType.AUTO)
    private Integer noticeId;		//主键

    private String noticeTheme;		//内容主题

    @TableField(strategy = FieldStrategy.NOT_EMPTY)
    private String noticePeople;	//发布人

    @DateField
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    private Date noticeDate;		//日期

    private String noticeContent;	//发布内容

    public Integer getNoticeId() {
        return noticeId;
    }

    public void setNoticeId(Integer noticeId) {
        this.noticeId = noticeId;
    }

    public String getNoticeTheme() {
        return noticeTheme;
    }

    public void setNoticeTheme(String noticeTheme) {
        this.noticeTheme = noticeTheme == null ? null : noticeTheme.trim();
    }

    public String getNoticePeople() {
        return noticePeople;
    }

    public void setNoticePeople(String noticePeople) {
        this.noticePeople = noticePeople == null ? null : noticePeople.trim();
    }

    public Date getNoticeDate() {
        return noticeDate;
    }

    public void setNoticeDate(Date noticeDate) {
        this.noticeDate = noticeDate;
    }

    public String getNoticeContent() {
        return noticeContent;
    }

    public void setNoticeContent(String noticeContent) {
        this.noticeContent = noticeContent == null ? null : noticeContent.trim();
    }
}